import request from '@/utils/request'

export default {
  // 1.科目列表(查询分页)
  getSubjectListPage(page,limit,subject) {
    return request({
        url: `/public/${page}/${limit}`,
        method:'get',
        data: subject
      })
},
  // 科目列表(条件查询分页)
  //科目列表(查询分页)
  getSubjectList(page,limit,subjectQuery) {
    return request({
        url: `/public/query/${page}/${limit}`,
        method:'post',
        data: subjectQuery
      })
},
getSubjectType () {
  return request({
    url: `/public/getSubject`,
    method: 'get'
  })
},
getSubject () {
  return request({
    url: `/public/getKemu`,
    method: 'get'
  })
},
}
